<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>01-CSS属性的继承</title>
    <style>

        div {
           color: red;
        }

        /*p {*/
            /*color: blue;*/
        /*}*/

        /*span {
            color: orange;
        }*/

    </style>
</head>
<body>

<div>
    我是div
    <p>
        我是p
        <span>我是span</span>
    </p>
</div>

</body>
</html>